package com.wsoft.system.dto;

import com.wsoft.entity.BasePage;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @Author Zhang gukai
 * @Date 2024/9/2 9:11
 */
@Data
public class SysMenuDto extends BasePage {

    @Schema(description = "主表id")
    private Long id;

    @Schema(description = "父级id")
    private Long paId;

    @Schema(description = "菜单名称")
    private String title;

    private Integer sort;

    @Schema(description = "0：菜单；1：按钮")
    private Integer type;

    @Schema(description = "路径地址")
    private String path;

    @Schema(description = "前端图标")
    private String icon;

    @Schema(description = "是否隐藏")
    private Integer isHidden;

    @Schema(description = "是否自定义表单")
    private Integer isCustom;

    @Schema(description = "自定义表单编号")
    private String customCode;
}
